package org.flashbrighton.as3bots.events
{
	import flash.events.Event;
	import org.flashbrighton.as3bots.models.BotModel;

	public class CollisionEvent extends Event
	{
		private var _botModel:BotModel;
		private var _collisionPoint:Number;
		private var _damage:int;
		private var _targetType:String;
		
		
		public function CollisionEvent(type:String, botModel:BotModel, collisionPoint:Number, damage:int, targetType:String)
		{
			super(type);
			_botModel = botModel;
			_collisionPoint = collisionPoint;
			_damage = damage;
			_targetType = targetType;
		}		
		
		public function get botModel():BotModel
		{ 
			return _botModel;
		}
		
		public function get collisionPoint():Number
		{
			return _collisionPoint;
		}
		
		
		public function get damage():int
		{
			return _damage;
		}
		
		
		public function get targetType():String
		{
			return _targetType;
		}
		
	}
}